/**
 * Created by lilith on 2017/10/29.
 */
//  工程管理
import station from '../component/page/process/workStation.vue'   //  工站
// import production from '../component/page/process/production.vue'   //  工序
import produce from '../component/page/process/produce.vue'    //  成品
import halfProduce from '../component/page/process/halfProduce.vue'    //  半成品
import materials from '../component/page/process/materials.vue'    //  原料管理
import pieceBasic from '../component/page/process/pieceBasic.vue'    //  原料管理
//   人事行政管理
import department from '../component/page/hr/department.vue'     //  部门管理
import office from '../component/page/hr/office.vue'     //  科室 管理
import person from '../component/page/hr/person.vue'     //  员工管理
import role from '../component/page/hr/role.vue'     //  角色管理
import menu from '../component/page/hr/menu.vue'     //  菜单管理
import duty from '../component/page/hr/duty.vue'     //  职务职级管理
            //  薪资管理
import SalaryRegular from '../component/page/hr/salaryRegular.vue'     //  固定
import SalaryTime from '../component/page/hr/salaryTime.vue'     //  计时
import SalaryPiece from '../component/page/hr/salaryPiece.vue'     //  计件
//     销售管理
import customer from '../component/page/sall/customer.vue'     //  客户讯息
import orderForm from '../component/page/sall/orderForm.vue'     //  订单
import quotation from '../component/page/sall/quotation.vue'     //  报价
import salesOrder from '../component/page/sall/salesOrder.vue'     //  订单查询
//    仓库管理
import repository from '../component/page/repertory/repository.vue'     //  库位
//   采购管理
import supplier from '../component/page/purchase/supplier.vue'     //  供应商
import Porder from '../component/page/purchase/Porder.vue'     //  下单



//   测试
import up from '../component/page/up.vue'     //  上传
import schart from '../component/page/echart.vue'     //  图表
import selectionText from '../component/page/selectionText.vue'     //  选中


// import gongzhan from '../component/page/gongzhan.vue'
import login from '../component/page/login.vue'

// 导入 页面
// import  test from '../test/test.vue'

let routes = [
    {
        path: '/',
        component: station    //  默认打开的页面
    },
    //  工程管理
    {
        path: '/station',
        component: station   // 工站
    },
    {
        path: '/produce',
        component: produce   //  成品管理
    },
    {
        path: '/halfProduce',
        component: halfProduce   //  半成品管理
    },
    {
        path: '/materials',
        component: materials   //  物料
    },
    {
        path: '/pieceBasic',
        component: pieceBasic   //  计件基础报表
    },
    //  人事行政管理
    {
        path: '/department',
        component: department   //  部门管理
    },
    {
        path: '/office',
        component: office   //  科室管理
    },
    {
        path: '/person',
        component: person   //  员工管理
    },
    {
        path: '/role',
        component: role   //  员工管理
    },
    {
        path: '/menu',
        component: menu   //  菜单管理
    },
    {
        path: '/duty',
        component: duty   //  职务职级 管理
    },
    //  薪资管理
    {
        path: '/SalaryRegular',
        component: SalaryRegular   //  固定
    },
    {
        path: '/SalaryTime',
        component: SalaryTime   //  计时
    },
    {
        path: '/SalaryPiece',
        component: SalaryPiece   //  计件
    },
    //  销售管理
    {
        path: '/customer',
        component: customer   //  客户
    },
    {
        path: '/orderForm',
        component: orderForm   //  订单
    },
    {
        path: '/quotation',
        component: quotation   //  报价
    },
    {
        path: '/salesOrder',
        component: salesOrder   //  订单查询
    },

    //   仓库管理
    {
        path: '/repository',
        component: repository   //  库位
    },

    //   采购管理
    {
        path: '/supplier',
        component: supplier   //  采购
    },
    {
        path: '/Porder',
        component: Porder   //  下单
    },





    //   测试
    {
        path: '/up',
        component: up   //  up
    },
    {
        path: '/schart',
        component: schart   //  schart
    },
    {
        path: '/selectionText',
        component: selectionText   //  selection
    },



    // {
    //     path: '/gongzhan',    //  案例
    //     component: gongzhan
    // },

    {
        path: '/login',
        component: login    //  登录
    },
];


export default routes;


